FROM registry.cn-hangzhou.aliyuncs.com/xiaoyilin/nodejs:20.19.5
RUN  npm install whistle -g --registry=https://registry.npmmirror.com
EXPOSE 8899/tcp

# 开源抓包神器whistle
# https://github.com/avwo/whistle 
# docker build -t registry.cn-hangzhou.aliyuncs.com/xiaoyilin/whistle:20.19.5-2.9.103 .
# docker run -it -p 8899:8899 registry.cn-hangzhou.aliyuncs.com/xiaoyilin/whistle:20.19.5-2.9.103 /bin/bash
# docker push registry.cn-hangzhou.aliyuncs.com/xiaoyilin/whistle:20.19.5-2.9.103
# w2 start
# w2 stop
# w2 restart
# w2 status
# 安装根证书：点击工具栏中https再点击图片下载证书
# 证书安装即可
# 真正使用前打开对应的代理